package com.example.hxds.dr.db.dao;


import com.example.hxds.dr.controller.form.SearchDriverAuthForm;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;

public interface DriverDao {

    long hasDriver(Map param);

    int registerNewDriver(Map param);

    String searchDriverId(String openId);

    int updateDriverAuth(Map param);

    HashMap searchDriverNameAndSex(long driverId);

    int updateDriverArchive(long driverId);

    HashMap login(String openId);

    HashMap searchDriverBaseInfo(long driverId);

    ArrayList<HashMap> searchDriverByPage(Map param);

    long searchDriverCount(Map param);

    HashMap searchDriverAuth(long driverId);

}




